{{template "header"}}
    <title>首页1——我的11go_http</title>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
        {{template "nav" .}}
    <div class="container">
        <div class="col-lg-9">
            {{range .Topics}}
            <div class="page-header">
                <h1><a href="/topic/view/id/{{.Id}}">{{.Title}}</a></h1>
                <h6 class="text-muted">文章发布时间：{{.Created}} ,共浏览{{.View}}次,{{.ReplyCount}}次评论</h6>
                <p>{{.Content}}</p>
            </div>
            {{end}}
        </div>
        <div class="col-md-3">
            <h1>文章分类</h1>

            <u1>
                {{range .Category}}
                        <li><a href="/?cate={{.Title}}">{{.Title}}</a></li>
                {{end}}

            </u1>

        </div>



    </div>



    <script type="text/javascript" src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="/static/plugin/bootstrap/dist/js/bootstrap.js"></script>

</nav></body>
</html>